package main

val FINAL_HELLO_WORLD: String = "Hello,world"
var helloWorld: String = FINAL_HELLO_WORLD
val nullAbleHelloWorld: String? = helloWorld
val helloWorldCharArray: CharArray = charArrayOf('H', 'e', 'l', 'l', 'o', ',', 'w', 'o', 'r', 'l', 'd')
val helloWorldArray: Array<Char> = arrayOf('H', 'e', 'l', 'l', 'o', ',', 'w', 'o', 'r', 'l', 'd')
val helloWorldLength: Int = helloWorld.length
val helloWorldLengthLong: Long = helloWorld.length.toLong()
fun main() {
    println(FINAL_HELLO_WORLD)
    println(helloWorld)
    println(helloWorld::class.java.name)
    println(helloWorld::class.java.simpleName)
    println(nullAbleHelloWorld)
    println(helloWorldCharArray.joinToString(""))
    println(helloWorldArray.joinToString(""))
    println(helloWorldLength)
    println(helloWorldLengthLong)
    println(helloWorld.slice(3..7))
}